<?php
//------------------------
// 资讯分类验证器
//-------------------------

namespace app\common\validate;

use think\Validate;

class ArticleClassify extends Validate
{
    protected $rule = [
        'name|分类名称'          => 'require|max:20|unique:article_classify',
    ];

}